<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">Sqwarea: Delete your account</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Delete <%= ViewData["Nickname"] %>'s account</h1>   
    <p>
        Are you sure you want to delete your account?
    </p>
    <p class="alert">
        This action is definitive. If you delete your account you won't be able to get your kingdom back.
    </p>
    <p>
        Your king will be executed and all your square will be reverted as neutral.
    </p>
    <%= Html.ValidationSummary("Account deleted!")%>

    <% using (Html.BeginForm()) { %>
      <fieldset>
        <legend>Are you sure?</legend>
        <p>
          <input type="radio" name="confirm" id="confirm_no" value="no" checked="checked" />
          <label for="confirm_no">No</label><br />
          <input type="radio" name="confirm" id="confirm_yes" value="yes" />
          <label for="confirm_Yes">Yes</label>
        </p>
        <p class="formButtons">
          <input type="submit" value="Submit" />
        </p>
      </fieldset>
    <% } %>
    <p style="text-align: right;">
      <%= Html.ActionLink("Back to account settings", "Settings", "Account") %>.
    </p>
</asp:Content>
